Platform Explorer / Nuxeo Platform 2023.13

Component org.nuxeo.ecm.platform.commandline.executor.service.defaultContrib

Resolution Order

308
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version='1.0' encoding='UTF-8'?>
<component name="org.nuxeo.ecm.platform.commandline.executor.service.defaultContrib">

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent" point="environment">
    <documentation>Default environment parameters.</documentation>
    <environment>
      <parameters>
        <!-- TMPDIR is the canonical Unix environment variable specified in various Unix and similar standards -->
        <!-- TMP, TEMP and TEMPDIR are alternatively used by non-POSIX OS or non-standard programs -->
        <!-- Windows/DOS programs randomly use TMP or TEMP environment variables -->
        <parameter name="TMPDIR">********</parameter>
        <parameter name="TMP">********</parameter>
        <parameter name="TEMP">********</parameter>
        <parameter name="TEMPDIR">********</parameter>
      </parameters>
    </environment>
  </extension>

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent" point="commandTester">
    <documentation>Simple default tester that only checks for command existence in the system path.</documentation>
    <commandTester name="DefaultCommandTester" class="org.nuxeo.ecm.platform.commandline.executor.service.cmdtesters.DefaultCommandTester">
    </commandTester>
  </extension>

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent" point="command">
    <!-- timeout is used to set a time limit when running command, this definition checks if timeout is available -->
    <command name="timeout" enabled="true">
      <commandLine>timeout</commandLine>
      <parameterString>--version</parameterString>
    </command>
  </extension>

</component>